package com.vchello.bean.pro;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.vchello.bean.user.User;

/**
 * 
 * @author power
 * 项目跟进人
 */
@TableName("pro_follow")
public class ProFollow extends Model<ProFollow> {
	
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@TableId("id")
	private int id;
	
	@TableField("user_id")
    private int userId;

	@TableField("pro_id")
    private int proId;

	@TableField(exist = false)
	private User user;

	public ProFollow() {
		super();
	}

	public ProFollow(int userId, int proId) {
		super();
		this.userId = userId;
		this.proId = proId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getProId() {
		return proId;
	}

	public void setProId(int proId) {
		this.proId = proId;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}
}